.modal {
  display: table;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 1rem;
  border-radius: .08rem;
  background: rgba(0, 0, 0, 0.7);

  &-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: .2rem;
    font-size: 0.16rem;
    color: #FFF;
  }
}